package com.qj.yantaishan.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qj.yantaishan.common.annotation.Excel;
import com.qj.yantaishan.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 shanglala_return_product
 * 
 * @author qihe
 * @date 2022-07-22
 */
public class ReturnProduct
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 订单ID */
    @Excel(name = "订单ID")
    private Long orderId;

    /** 退货单ID */
    @Excel(name = "退货单ID")
    private Long returnId;

    /** order_product表的pigcms_id值 */
    @Excel(name = "order_product表的pigcms_id值")
    private Long orderProductId;

    /** 产品ID */
    @Excel(name = "产品ID")
    private Long productId;

    /** 库存ID */
    @Excel(name = "库存ID")
    private Long skuId;

    /** 库存信息 */
    @Excel(name = "库存信息")
    private String skuData;

    /** 数量 */
    @Excel(name = "数量")
    private Long proNum;

    /** 购买时的价格 */
    @Excel(name = "购买时的价格")
    private BigDecimal proPrice;

    /** 商品兑换的积分 */
    @Excel(name = "商品兑换的积分")
    private Integer pointExchangeNum;

    /** 是否是积分兑换商品 */
    @Excel(name = "是否是积分兑换商品")
    private Integer isPointExchange;

    /** 是否已打包，0：未打包，1：已打包 */
    @Excel(name = "是否已打包，0：未打包，1：已打包")
    private Integer isPackaged;

    /** 供货商ID */
    @Excel(name = "供货商ID")
    private Long supplierId;

    /** 源商品ID */
    @Excel(name = "源商品ID")
    private Long originalProductId;

    /** 折扣 */
    @Excel(name = "折扣")
    private BigDecimal discount;

    /** 用户退货单ID */
    @Excel(name = "用户退货单ID")
    private Long userReturnId;

    /** 是否礼包商品 0否 1是 */
    @Excel(name = "是否礼包商品 0否 1是")
    private Integer isGiftProduct;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setReturnId(Long returnId) 
    {
        this.returnId = returnId;
    }

    public Long getReturnId() 
    {
        return returnId;
    }
    public void setOrderProductId(Long orderProductId) 
    {
        this.orderProductId = orderProductId;
    }

    public Long getOrderProductId() 
    {
        return orderProductId;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setSkuId(Long skuId) 
    {
        this.skuId = skuId;
    }

    public Long getSkuId() 
    {
        return skuId;
    }
    public void setSkuData(String skuData) 
    {
        this.skuData = skuData;
    }

    public String getSkuData() 
    {
        return skuData;
    }
    public void setProNum(Long proNum) 
    {
        this.proNum = proNum;
    }

    public Long getProNum() 
    {
        return proNum;
    }
    public void setProPrice(BigDecimal proPrice) 
    {
        this.proPrice = proPrice;
    }

    public BigDecimal getProPrice() 
    {
        return proPrice;
    }
    public void setPointExchangeNum(Integer pointExchangeNum) 
    {
        this.pointExchangeNum = pointExchangeNum;
    }

    public Integer getPointExchangeNum() 
    {
        return pointExchangeNum;
    }
    public void setIsPointExchange(Integer isPointExchange) 
    {
        this.isPointExchange = isPointExchange;
    }

    public Integer getIsPointExchange() 
    {
        return isPointExchange;
    }
    public void setIsPackaged(Integer isPackaged) 
    {
        this.isPackaged = isPackaged;
    }

    public Integer getIsPackaged() 
    {
        return isPackaged;
    }
    public void setSupplierId(Long supplierId) 
    {
        this.supplierId = supplierId;
    }

    public Long getSupplierId() 
    {
        return supplierId;
    }
    public void setOriginalProductId(Long originalProductId) 
    {
        this.originalProductId = originalProductId;
    }

    public Long getOriginalProductId() 
    {
        return originalProductId;
    }
    public void setDiscount(BigDecimal discount) 
    {
        this.discount = discount;
    }

    public BigDecimal getDiscount() 
    {
        return discount;
    }
    public void setUserReturnId(Long userReturnId) 
    {
        this.userReturnId = userReturnId;
    }

    public Long getUserReturnId() 
    {
        return userReturnId;
    }
    public void setIsGiftProduct(Integer isGiftProduct) 
    {
        this.isGiftProduct = isGiftProduct;
    }

    public Integer getIsGiftProduct() 
    {
        return isGiftProduct;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("returnId", getReturnId())
            .append("orderProductId", getOrderProductId())
            .append("productId", getProductId())
            .append("skuId", getSkuId())
            .append("skuData", getSkuData())
            .append("proNum", getProNum())
            .append("proPrice", getProPrice())
            .append("pointExchangeNum", getPointExchangeNum())
            .append("isPointExchange", getIsPointExchange())
            .append("isPackaged", getIsPackaged())
            .append("supplierId", getSupplierId())
            .append("originalProductId", getOriginalProductId())
            .append("discount", getDiscount())
            .append("userReturnId", getUserReturnId())
            .append("isGiftProduct", getIsGiftProduct())
            .toString();
    }
}
